package com.esoon.cdms.model.project;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlType(namespace = "http://www.mentor.com/harness/Schema/bridgesprojects")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(namespace = "http://www.mentor.com/harness/Schema/bridgesprojects",name = "projects")
public class Projects {
	@XmlElementWrapper
	@XmlElement(name="project")
	protected List<Project> project;

	public List<Project> getProject() {
		if (project == null) {
			project = new ArrayList<Project>();
		}
		return this.project;
	}

	/**
	 * @param project
	 *            the project to set
	 */
	public void setProjects(List<Project> project) {
		this.project = project;
	}

}
